<h4 class="xeAdmin">{$lang->cmd_pointsend_log_list}</h4>
<ul class="localNavigation" cond="in_array($act, $logAct)">
	<li class="on"|cond="$act == 'dispPointsendAdminLogList'"><a href="{getUrl('act', 'dispPointsendAdminLogList')}">회원 포인트 선물</a></li>
	<li class="on"|cond="$act == 'dispPointsendAdminBatchLogList'"><a href="{getUrl('act', 'dispPointsendAdminBatchLogList')}">일괄 포인트 선물</a></li>
</ul>

<table cellspacing="0" class="rowTable clear">
	<thead>
		<tr>
			<th>{$lang->no}</th>
			<th>{$lang->sender}</th>
			<th>{$lang->receiver}</th>
			<th>{$lang->point}</th>
			<th>{$lang->ipaddress}</th>
			<th>{$lang->date}</th>
			<th>&nbsp;</th>
		</tr>
	</thead>
	<tbody>
		<!--@if(count($log_list))-->
		{@ $oMemberModel = &getModel('member')}
		<!--@foreach($log_list as $no => $val)-->
		{@
			$sender = $oMemberModel->getMemberInfoByMemberSrl($val->sender_srl);
			$receiver = $oMemberModel->getMemberInfoByMemberSrl($val->receiver_srl);
		}
		<tr>
			<td>{$no}</td>
			<td><div class="member_{$sender->member_srl}">{$sender->nick_name}</div></td>
			<td><div class="member_{$receiver->member_srl}">{$receiver->nick_name}</div></td>
			<td>{$val->point}</td>
			<td>{$val->ipaddress}</td>
			<td>{zdate($val->regdate)}</td>
			<td class="center"><a href="{getUrl('act','dispPointsendAdminRevert','log_srl',$val->log_srl)}" title="{$lang->cmd_revert_pointgift}"><span class="buttonSet buttonDisable"></span></a>&nbsp;&nbsp;<a href="{getUrl('act','dispPointsendAdminDeleteLog','log_srl',$val->log_srl)}" title="{$lang->cmd_delete}" class="buttonSet buttonDelete"><span>{$lang->cmd_delete}</span></a></td>
		</tr>
		<tr cond="$val->comment">
			<td colspan="7">{htmlspecialchars($val->comment)}</td>
		</tr>
		<!--@end-->
		<!--@else-->
		<tr>
			<td colspan="7">{$lang->msg_not_exists_pointgift_log}</td>
		</tr>
		<!--@end-->
	</tbody>
</table>

<!-- 페이지 네비게이션 -->
<div class="pagination a1">
	<a href="{getUrl('page','')}" class="prevEnd">{$lang->first_page}</a> 
	<!--@while($page_no = $page_navigation->getNextPage())-->
		<!--@if($page == $page_no)-->
			<strong>{$page_no}</strong> 
		<!--@else-->
			<a href="{getUrl('page',$page_no)}">{$page_no}</a> 
		<!--@end-->
	<!--@end-->
	<a href="{getUrl('page',$page_navigation->last_page)}" class="nextEnd">{$lang->last_page}</a>
</div>

<form action="./" method="get" class="adminSearch">
	<input type="hidden" name="module" value="admin" />
	<input type="hidden" name="act" value="dispPointsendAdminLogList" />
	<select name="search_target">
		<option value="">{$lang->search_target}</option>
		<option value="s_nick_name" selected="selected"|cond="$search_target == 's_nick_name'">{$lang->sender} ({$lang->nick_name})</option>
		<option value="s_user_id" selected="selected"|cond="$search_target == 's_user_id'">{$lang->sender} ({$lang->user_id})</option>
		<option value="r_nick_name" selected="selected"|cond="$search_target == 'r_nick_name'">{$lang->receiver} ({$lang->nick_name})</option>
		<option value="r_user_id" selected="selected"|cond="$search_target == 'r_user_id'">{$lang->receiver} ({$lang->user_id})</option>
		<option value="point_more" selected="selected"|cond="$search_target == 'point_more'">{$lang->point} (이상)</option>
		<option value="point_less" selected="selected"|cond="$search_target == 'point_less'">{$lang->point} (이하)</option>
		<option value="regdate_more" selected="selected"|cond="$search_target == 'regdate_more'">{$lang->date} (이상)</option>
		<option value="regdate_less" selected="selected"|cond="$search_target == 'regdate_less'">{$lang->date} (이하)</option>
		<option value="ipaddress" selected="selected"|cond="$search_target == 'ipaddress'">{$lang->ipaddress}</option>
	</select> 
	<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" /> <input type="submit" value="{$lang->cmd_search}" /> <a href="{getUrl('act', 'dispPointsendAdminLogList', 'search_target', '', 'search_keyword', '')}">{$lang->cmd_cancle}</a>
</form>